<ion-header>
  <ion-navbar no-border-bottom>
    <ion-title>工作日报汇总</ion-title>
    <ion-buttons>
      <button ion-button (click)="cancel()">关闭</button>
    </ion-buttons>
  </ion-navbar>
</ion-header>
<ion-content id="ionContent" class='email-list'>
  <ion-list id="ionList" class='gfoa-list'>
    <ion-item>
      <ion-label>汇总日期:</ion-label>
      <ion-datetime displayFormat="YYYY-MM-DD" pickerFormat="YYYY-MM-DD" [(ngModel)]="selectDate"
                    cancelText="取消" doneText="确定" max="{{maxDate}}">
      </ion-datetime>
    </ion-item>
  </ion-list>
  <ion-row id="ionRow">
    <ion-col text-center>
      <button block ion-button color="light" (click)="search()">
        <ion-icon name="search"></ion-icon>
        搜索
      </button>
    </ion-col>
    <ion-col text-center>
      <button block ion-button color="light" (click)="clear()">
        <ion-icon name="trash"></ion-icon>
        清空
      </button>
    </ion-col>
    <ion-col text-center>
      <button class="btnCopy" block ion-button color="light" data-clipboard-target="#collectContent">
        <ion-icon name="copy"></ion-icon>
        复制
      </button>
    </ion-col>
  </ion-row>
  <div id="collectContentDiv">
  <textarea id="collectContent" rows="10" class="collectContent" readonly="readonly">{{collectContent}}</textarea>
  </div>
  <!--<ion-list>
    <ion-item>
    </ion-item>
  </ion-list>-->
</ion-content>
